<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查询科目</title>

    <style>
        a{
            text-decoration: none;
         }
    </style>

</head>
<body>
    <h4><a href="../../student/Index/index" style="text-decoration: none">返回管理员界面</a></h4>
    <a href="insertCourse">添加科目</a>
    <table border="1" cellspacing="0">
        <th>科目</th>
        <th>操作</th>

        {foreach($selectCourse as $key=>$value)}
        <tr>
            <td>{$value.name}</td>
            <td><a href="deleteCourse?id={$value.id}">删除</a> <a href="updateCourse?id={$value.id}">修改</a> </td>
        </tr>
        {/foreach}
    </table>




</body>
</html>